package com.ruoyi.warning.domain.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.base.Field;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 告警联系人表
 * </p>
 *
 * @author chenhc
 * @since 2025-02-06
 */
@TableName("warning_contacts")
@Data
@SuppressWarnings("serial")
@ApiModel("告警联系人表")
public class Contacts extends Field {
    private static final long serialVersionUID = 1L;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("联系人id")
    private String id;

    @ApiModelProperty("部门ID")
    @Excel(name = "部门编号", type = Excel.Type.IMPORT)
    private Long deptId;

    @ApiModelProperty("联系人名称")
    @Excel(name = "联系人名称")
    private String contactsName;

    @ApiModelProperty("用户邮箱")
    @Excel(name = "用户邮箱")
    private String email;

    @ApiModelProperty("手机号码")
    @Excel(name = "手机号码")
    private String phoneNumber;

    @ApiModelProperty("钉钉号")
    @Excel(name = "钉钉号")
    private String dingding;

    @ApiModelProperty("单位ID")
    private Long companyId;

    @ApiModelProperty("区域ID")
    private Long areaId;

    @ApiModelProperty("状态0正常2禁用")
    private Integer status;
}
